<template>
  <view class="userInfo-fixed">
      <view class="title">
        {{title}}
      </view>
      <view class="userInfo-detail" v-if='info'>{{info}}</view>
    </view>
</template>
<script>
  export default {
    props: {
      title: String,
      info: String
    },
  }
</script>
<style lang="scss">
  .userInfo-fixed {
    display: flex;
    position: relative;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding: 30rpx 20rpx;
    
    .userInfo-detail {
      width: 400rpx;
      margin-right: 10rpx;
      text-align: right;
    }
  }
</style>
